package com.text;

import com.foreknow.saxbuilder.ClassPathXMLApplicationContext;
import com.xianzhi.dao.web.AdminAction;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
        AdminAction action = (AdminAction) context.getBean("adminAction");
        action.execute();
    }
}
